package com.loveprogrammer.lowercode.dna.dao;

import com.loveprogrammer.lowercode.dna.def.Dna;
import com.loveprogrammer.lowercode.dna.def.DnaDbMap;
import com.loveprogrammer.lowercode.dna.instance.bo.Cell;
import com.loveprogrammer.lowercode.dna.instance.bo.Inst;

public interface InstDao {

    void deleteCell(Cell cell);

    void insertCell(Cell cell, DnaDbMap dnaDbMap);

    void updateCell(Cell cell, DnaDbMap dnaDbMap);

    Inst getInst(Dna dna, Object cellKey);

    Inst getInstByParentKey(Dna child, Object cellKey);

    void deleteCellByKey(Object cellKey, Dna dna);

}
